package com.example.demo2.Util;

import org.springframework.stereotype.Component;

@Component
public class ExceptionUtil extends Exception{
   public  ExceptionUtil(){
       super("发生错误404");
   }
   public ExceptionUtil(String message){
       super(message);
   }

}
